#ifndef MYTEST_H
#define MYTEST_H

#include <QObject>
class MyTest:QObject
{
    Q_OBJECT
public:
    MyTest();
    MyTest(int age);
    ~MyTest();
    void setAge(int newAge);

    int getAge() const;

private:
    int age=0;
};

#endif // MYTEST_H
